package com.bk.bookviews.common;

import java.util.Arrays;
import java.util.List;

/**
 * 通用常量信息
 */
public class Constants {

    /**
     * 用户状态-正常
     */
    public static final String NORAMAL = "0";
    /** redis过期时间 **/
    public static int EXPIRE_TIME = 7200;
    /** redis key前缀 **/
    public static String PERFIX_TOKEN = "login_bk_";
    /**
     * 用户类型-0-管理员 1-普通用户
     */
    public static final String SIMPLE_USER = "1";
    /**
     * 查询来源-0-前台 1-后台
     */
    public static final String QUERY_SOURCE = "0";

    /**
     * 查询来源-0-前台 1-后台
     */
    public static final String QUERY_SOURCE_BACKGROUND = "1";
    /**
     * 景区状态-0-正常 1-停用 2-删除
     */
    public static final String SCENIC_STATUS_NORMAL = "0";

    /**
     * 预约状态-0-预约成功待支付 1-支付成功 2-取消预约 3-预约失效
     */
    public static final String BOOKING_STATUS_SUCCESS = "0";
    public static final String BOOKING_STATUS_PAY_SUCCESS = "1";

    public static final List<String> BOOK_SUUCCESS = Arrays.asList("0","1");

    /**
     * 图片状态-0-正常 1-删除
     */
    public static final String PICTURE_STATUS_NORMAL = "0";

    /**
     * 图片类型-0-主图 1-其他
     */
    public static final String PICTURE_TYPE = "1";

    /**
     * 已关注
     */
    public static final String ALREADY_ATTENTION = "1";

}
